<!--  -->
<template>
  <div class="edits">
    <div class="handle">
      <el-tooltip effect="dark" content="Bottom Right 提示文字" placement="right-end" class="item">
        <div slot="content">
          <button>图片</button><br />
          <button>视频</button> <br /><button>视频</button> <br /><button>VR全景</button>
          <br /><button>地图</button>
        </div>
        <el-button type="primary" plain>添加页面+</el-button>
      </el-tooltip>
      <ul class="ages">
        <li>
          <h3>1</h3>
          <img
            src="https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg"
            alt=""
          />
        </li>
        <li>
          <h3>2</h3>
          <img
            src="https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg"
            alt=""
          />
        </li>
        <li>
          <h3>3</h3>
          <img
            src="https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg"
            alt=""
          />
        </li>
        <li>
          <h3>4</h3>
          <img
            src="https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg"
            alt=""
          />
        </li>
        <li>
          <h3>4</h3>
          <img
            src="https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg"
            alt=""
          />
        </li>
        <li>
          <h3>5</h3>
          <img
            src="https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg"
            alt=""
          />
        </li>
      </ul>
    </div>
    <div class="pages">
      <div class="handers">
        <div class="left">
          <h4>页面名称</h4>
          <i class="el-icon-edit"></i>
        </div>
        <div class="rgts">
          <el-button icon="el-icon-edit" circle class="cools"></el-button>
          <el-button type="primary" icon="el-icon-delete" circle class="cools" plain></el-button>
        </div>
      </div>
      <div class="addshow">
        <el-upload
          class="upload-demo upits"
          drag
          action="https://jsonplaceholder.typicode.com/posts/"
          multiple
        >
          <i class="el-icon-upload"></i>
          <div class="el-upload__text">将文件拖到此处，或<em>点击上传</em></div>
        </el-upload>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  components: {},
  data() {
    return {}
  },
  created() {},
  methods: {},
  beforeDestroy() {},
}
</script>

<style lang='scss' scoped>
* {
  margin: 0;
  padding: 0;
}

.edits {
  margin-top: 20px;
  width: 100%;
  height: 808px;
  display: flex;
  justify-content: center;

  .handle {
   width: 382px;
    height: 770px;
    display: flex;
    flex: none;
    flex-wrap: wrap;
    justify-content: center;
    .item {
      display: flex;
      justify-content: center;
      width: 324px;
      height: 60px;
      align-items: center;
      margin-left: 16px;
    }
    .ages {
      height: 710px;
      overflow-y: auto;
      &::-webkit-scrollbar {
        width: 10px;
        height: 10px;
      }
      li {
        width: 348px;
        height: 172px;
        display: flex;
        align-items: center;
        margin: 4px;
        h3 {
          width: 26px;
          height: 74px;
          text-align: center;
          font-family: PingFangSC, PingFangSC-Semibold;
          color: #444451;
          line-height: 74px;
        }
        img {
          display: block;
          width: 328px;
          height: 164px;
          margin-top: 8px;
        }
      }
    }
  }
  .pages {
    margin: 0 20px;
    height: 770px;
    border: 1px solid #e3e3e3;
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    .handers {
     width: 100%;
      height: 59px;
      border-bottom: 1px solid #e3e3e3;
      display: flex;
      align-items: center;
      justify-content: space-between;
      .rgts {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding-right: 31px;
        width: 50%;
        .cools {
          width: 23px;
          height: 23px;
          text-align: center;
          display: flex;
          justify-content: center;
          align-items: center;
          i {
            display: block;
            margin: 4px;
          }
        }
      }
      .left {
        width: 50%;
        height: 22px;
        display: flex;
        align-items: center;
        h4 {
          font-size: 16px;
          font-family: PingFangSC, PingFangSC-Regular;
          font-weight: 400;
          text-align: left;
          color: #171725;
          line-height: 22px;
          letter-spacing: 0.11px;
          margin: 0 11px 0 20px;
        }
        i {
          display: block;
        }
      }
    }
    .addshow {
      width: 100%;
      height: 710px;
      display: flex;
      justify-content: center;
      align-items: center;
      
    }
  }
}
</style>
